package com.asset.dispoal.departmentUser.domain.db.mapper;

import com.asset.dispoal.departmentUser.domain.db.entity.SysDepartmentUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tech.mhuang.pacebox.springboot.core.mapper.BaseMapper;

/**
 * 部门用户关联表JDBC接口
 *
 * @author: mhuang
 * @date: 2022-03-14 16:38:07
 */
@Mapper
public interface SysDepartmentUserMapper extends BaseMapper<SysDepartmentUser, String> {


    void saveBatch(@Param("sysDepartmentUser") SysDepartmentUser sysDepartmentUser);


    void deleteByUser(@Param("userId") String userId);
}